﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BCDto.OA.GeneralDatabaseOperation
{
    /// <summary>
    /// 通用数据库操作查询
    /// </summary>
    public class GeneralDatabasesOperationQueryDto
    {
        /// <summary>
        /// 数据库名称
        /// </summary>
        public string DatabaseName { get; set; }
        /// <summary>
        /// 表名称
        /// </summary>
        public string TableName { get; set; }
        /// <summary>
        /// 获取列名称列表
        /// </summary>
        public List<string> ColumnName { get; set; }
        /// <summary>
        /// 查询条件字段列表
        /// </summary>
        public List<string> Wheres { get; set; }
        /// <summary>
        /// 表达式符号
        /// </summary>
        public List<string> Symbol { get; set; }
        /// <summary>
        /// 查询条件字段参数值列表
        /// </summary>
        public List<Object> Parameters { get; set; }
        /// <summary>
        /// 当前页码
        /// </summary>
        public int PageIndex { get; set; } = 1;
        /// <summary>
        /// 每页数据条数
        /// </summary>
        public int PageSize { get; set; } = 10;
    }
}
